package com.ffe.flower.engine.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.ffe.flower.engine.model.FlowStateDetail;

public interface FlowStateDetailDao
    extends PagingAndSortingRepository<FlowStateDetail, Integer>, JpaSpecificationExecutor<FlowStateDetail> {

  List<FlowStateDetail> findByFlowIdOrderByStateIdAsc(Integer flowId);
}
